package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

/**
 * 
*    
* 项目名称：ArtworkArtA   
* 类名称   ：MyFansParser   
* 类描述   ：我的粉丝列表+解析   
* 创建人   ：耿卫斌   
* 创建时间：2016-5-23 下午1:17:37   
*
 */
public class MyFansParser extends AppItem implements Serializable{
	private static final long serialVersionUID = 1L;
	private String id;
	private String name;
	private String avatarurl;
	private String commend_num;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		name = obj.optString("name");
		avatarurl = obj.optString("avatarurl");
		commend_num = obj.optString("commend_num");
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAvatarurl() {
		return avatarurl;
	}
	public void setAvatarurl(String avatarurl) {
		this.avatarurl = avatarurl;
	}
	public String getCommend_num() {
		return commend_num;
	}
	public void setCommend_num(String commend_num) {
		this.commend_num = commend_num;
	}
	public MyFansParser() {
		super();
	}
	public MyFansParser(String id, String name, String avatarurl,
			String commend_num) {
		super();
		this.id = id;
		this.name = name;
		this.avatarurl = avatarurl;
		this.commend_num = commend_num;
	}
	@Override
	public String toString() {
		return "MyFansParser [id=" + id + ", name=" + name + ", avatarurl="
				+ avatarurl + ", commend_num=" + commend_num + "]";
	}
}
